package com.yiwei.zhh.api.callback;

import com.yiwei.zhh.api.bean.AllTypeBean;
import com.yiwei.zhh.api.contract.BaseContract;
import com.yiwei.zhh.model.AuthSkipSetModel;
import com.yiwei.zhh.model.BankModel;
import com.yiwei.zhh.model.BeginApplyModel;
import com.yiwei.zhh.model.LiMuApiKeyModel;
import com.yiwei.zhh.model.LiMuSignModel;
import com.yiwei.zhh.model.ModifyPhoneCheckCodeModel;
import com.yiwei.zhh.model.MyCertificationModel;
import com.yiwei.zhh.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface LoanForNewContract {
    interface View extends BaseContract.BaseView {
        void getKeySuccess(LiMuApiKeyModel item);

        void getSignSuccess(LiMuSignModel item);

        void uploadTokenSuccess(ResponseModel item);

        void updateFaceSuccess(ResponseModel item);

        void getSubmitApplySuccess(BeginApplyModel item);

        void getModifyphoneSendcode(ResponseModel item);

        void getModifyphoneCheckcode(ModifyPhoneCheckCodeModel item);

        void getAuthSkipSetSuccess(AuthSkipSetModel item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getKey(String deal_id);

        void getSign(String params);

        void uploadToken(String deal_id, String token, String biztype);

        void updateFace(String base64);

        void getSubmitApply(String deal_id, String lat, String lng);

        void getModifyphoneSendcode(String mobile);

        void getModifyphoneCheckcode(String mobile,
                                     String verify_code);

        void getAuthSkipSet(String deal_id,
                            String code,
                            String type);
    }
}
